package es.castorm.arch.service;

import javax.validation.constraints.NotNull;

public abstract class AbstractDTO {

	@NotNull
	Long id;

	@NotNull
	Integer version;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
}
